Skip to content

fix(ci): fix zizmor pedantic check failures#16544

Merged
reubeno merged 2 commits into
tomls/base/mainfrom
chrco/fix-ci-zizmor
Apr 9, 2026
Merged

fix(ci): fix zizmor pedantic check failures#16544
reubeno merged 2 commits into
tomls/base/mainfrom
chrco/fix-ci-zizmor

Conversation

@christopherco
Copy link
Copy Markdown
Collaborator

Fix the zizmor CI check that's currently failing on PRs.

Changes

Commit 1: Replace dtolnay/rust-toolchain with inline rustup in check-workflows.yml

zizmor flags dtolnay/rust-toolchain as superfluous-actions because ubuntu-latest runners already include rustup and cargo. Replace the action with a simple rustup default stable run step.

Commit 2: Rename spec-review.ymlspec-review.disabled to disable the workflow

The reusable workflow has secrets-outside-env warnings that cannot be trivially fixed — the secrets are required by workflow_call jobs and there's no way to use a dedicated environment with reusable workflow secrets. Renaming the file so zizmor no longer scans it, and we no longer use this workflow until we have a real fix.

…check

zizmor flags dtolnay/rust-toolchain as superfluous-actions because
ubuntu-latest runners already include rustup and cargo. Replace the
action with a simple `rustup default stable` run step.
Rename spec-review.yml → spec-review.disabled so zizmor no longer
scans it. The reusable workflow has secrets-outside-env warnings that
cannot be trivially fixed — the secrets are required by workflow_call
jobs and there’s no way to use a dedicated environment with reusable
workflow secrets. Disabling the file until we have a real fix.
@christopherco christopherco marked this pull request as ready for review April 9, 2026 17:56
Copilot AI review requested due to automatic review settings April 9, 2026 17:56
@christopherco christopherco requested a review from reubeno April 9, 2026 17:57
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR aims to fix failing zizmor “pedantic” CI checks by removing a flagged superfluous Rust toolchain setup step and by disabling the spec review reusable workflow that triggers hard-to-fix zizmor findings.

Changes:

  • Replaced dtolnay/rust-toolchain usage in the zizmor-check workflow with an inline rustup default stable step.
  • Added/renamed the reusable spec review workflow to spec-review.disabled to prevent it from being picked up by workflow tooling/scanning.

Reviewed changes

Copilot reviewed 1 out of 2 changed files in this pull request and generated no comments.

File Description
.github/workflows/check-workflows.yml Removes a zizmor-flagged action by using inline rustup before installing/running zizmor.
.github/workflows/spec-review.disabled Disables the reusable spec-review workflow by moving it to a non-.yml filename.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@reubeno reubeno merged commit 5f227ee into tomls/base/main Apr 9, 2026
10 checks passed
@reubeno reubeno deleted the chrco/fix-ci-zizmor branch April 9, 2026 18:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants